debug auxilary-files dial-plan

This command debugs the Dial Plan file.

Syntax

# debug auxilary-files dial-plan {info|match-number <Dial Plan Number> <Prefix Number>}

Command

Description

info

Displays the loaded Dial Plan file and lists the names of its configured Dial Plans.

match-number

Checks whether a specific prefix number is configured in a specific Dial Plan number. If the Dial Plan is used for tags, the command also shows the tag name.

Dial Plan Number

Defines the Dial Plan in which to search for the specified prefix number.

Prefix Number

Defines the prefix number to search for in the Dial Plan.

Note

The index number of the first Dial Plan is 0.

Command Mode

Privileged User

Example

Checking if the called prefix number 2000 is configured in Dial Plan 1, which is used for obtaining the destination IP address (tag):

# debug auxilary-files dial-plan match-number PLAN1 2000
Match found for 4 digits
Matched prefix: 2000
Tag: 10.33.45.92

Displaying the loaded Dial Plan file and listing its configured Dial Plans:

# debug auxilary-files dial-plan info
  File Name: dialPlan.txt
  Plans:
  Plan #0 = PLAN1
  Plan #1 = PLAN2